<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
     <div id="box"></div>
        <ul>
            <li>111</li>
            <li>111</li>
            <li>111</li>
            <li>111</li>
            <li class="qqq">111</li>
        </ul>
     
</body>
<script>
// console.log(document.documentElement)
// console.log(document.head)
// console.log(document.body)
// console.log(document.e)
// console.log(document.getElementsByTagName('ul'))
  var item1 = document.querySelector('ul li')
  var item2 = document.querySelectorAll('ul li.qqq')
  console.log(item1)
  console.log(item2)
</script>
</html>